import 'package:report_sdk/src/models/event.dart';

abstract class StorageBackend {
  StorageBackend(String userId);
  Future<void> insertEvent(Event event);
  Future<List<Event>> getPendingEventsBatch(int batchSize);
  Future<void> deleteBatchEventByIds(List<String> ids);
  Future<void> cleanOldEvents(int retentionDays);
  Future<void> dispose();
}
